#!/bin/bash
docker run -d --name nginx registry.cn-beijing.aliyuncs.com/easyxu/custom-nginx
docker cp nginx:/etc/nginx/ ./
# 将文件夹nginx重命名为conf.d
mv nginx conf.d
docker stop nginx
docker rm nginx